<template>
    <iframe class="iframe" :src="iframeUrl"></iframe>
</template>
<script setup>

import { ref } from 'vue'
import { useRoute } from 'vue-router'
const route = useRoute().query
const iframeUrl = ref(decodeURIComponent(route.iframeUrl))

</script>


<style scoped lang="scss">
.iframe {
    max-height: calc(100vh - 60px);
    height: calc(100vh - 60px);
    width: 100%;
    border: none;
}
</style>
